package com.zw.pm.module.integrate.files;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.zw.pm.base.BaseModel;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * @Description: 会议 model
 *
 * @Author: China.sgl
 * @Date: 2019/12/6 08:42
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class FilesModel extends BaseModel {

    private Integer id;

    /** 名称 */
    private String name;

    /** 设计中心 */
    private String designCenter;

    /** 订单号 */
    private String orderNum;

    /** 代码 */
    private String code;

    /** 客户 */
    private String client;

    /** 类型 */
    private String type;

    /** 数量 */
    private Integer num;

    /** 面积 */
    private Double area;

    /** 是否拼装  1=是 0=否 */
    private Integer assemble;

    /** 喷涂要求 */
    private String spray;

    /** 铝背楞类型 1=一代 2=二代 */
    private Integer backType;

    /** 铝背楞数量 */
    private Integer backNum;

    /** 订单类型 1=体系楼 2=备库 3=财务 */
    private Integer orderType;

    /** 非标件 */
    private Integer non;

    /** 长度 */
    private Double length;

    /** 区域 */
    private String region;

    /** 生产厂 */
    private String factories;

    /** 设计文件下发时间 */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date designTime;

    /** 客户要求发货时间 */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date shipTime;

    /** 计划发货时间 */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date planShipTime;

    /** 计划完成时间 */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date planCompleteTime;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date createTime;

    /** 下任务时间 */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date sendTime;

    /** 备注 */
    private String remark;

    private Integer year;

    private Integer sendFileNum;
    private Integer process1FileNum;
    private Integer process2FileNum;
    private Integer consumeFileNum;
    private Integer sprayFileNum;
    private Integer packFileNum;
    private Integer storeFileNum;

}
